package demo7;

/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/2/28 17:39
 */
public class LengthDemo {
    public static void main(String[] args) {
        String str = "我爱java";
        int len = str.length();
        System.out.println(len);

        String str1 =  "你也爱java";
        int len1 = str1.length();
        System.out.println(len1);
    }
}
